Skip to content
This repository was archived by the owner on Dec 6, 2024. It is now read-only.

ensure that indexer has latest instance of an object #42

Merged
merged 1 commit into from
May 5, 2021

Conversation

wlan0
Copy link
Contributor

@wlan0 wlan0 commented May 5, 2021

The indexer was only being updated when a previously running operation on the same object succeeded. If the operation failed because of invalid input or other non-operational errors , then indexer would never get updated, and the error would keep happening on an infinite loop.

This PR fixes the issue by ensuring that the indexer is always updated. This will ensure that subsequent updates to "fix" the object are also taken into consideration and we prevent the infinite error loops.

@wlan0 wlan0 requested review from bswartz and krishchow May 5, 2021 09:09
@wlan0 wlan0 self-assigned this May 5, 2021
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 5, 2021
@k8s-ci-robot k8s-ci-robot requested review from msau42 and rrati May 5, 2021 09:09
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels May 5, 2021
LeaseDuration: 60 * time.Second,
RenewDeadline: 30 * time.Second,
RetryPeriod: 15 * time.Second,
LeaseDuration: 150 * time.Second,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was being renewed too aggressively.

Copy link

@krishchow krishchow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 5, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: krishchow, wlan0

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 5ccf1b3 into kubernetes-retired:master May 5, 2021
BlaineEXE pushed a commit to BlaineEXE/cosi-api that referenced this pull request May 29, 2024
shanduur pushed a commit to shanduur/container-object-storage-interface-api that referenced this pull request Jun 6, 2024
shanduur pushed a commit to shanduur/container-object-storage-interface-api that referenced this pull request Jun 6, 2024
add minio.yaml for deploying sample driver
BlaineEXE pushed a commit to BlaineEXE/cosi-api that referenced this pull request Jun 14, 2024
add minio.yaml for deploying sample driver
BlaineEXE pushed a commit to BlaineEXE/cosi-api that referenced this pull request Jun 14, 2024
Introducing delete_context in DriverDeleBucketRequest
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants